package ContainerLayer;


/**
 * Write a description of class Costumer here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Salesman
{
    // instance variables - replace the example below with your own
    private long id; //Costumer account number
    private String name; //Name on costumer
    private String address; //costumers address
    private String mail; //costumers mail
    private int phoneNo; //costumers phoneNo
     

    /**
     * Constructor for objects of class Costumer
     */
    public Salesman(long id, String name, String address, String mail, int phoneNo)
    {
        // initialise instance variables
        this.id = id;
        this.name = name;
        this.address = address;
        this.mail = mail;
        this.phoneNo = phoneNo;
        
        
    }

    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */
    public void setID(long id)
    {
        this.id = id;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setMail(String mail)
    {
        this.mail = mail;
    }
    
    public void setPhoneNo(int phoneNo)
    {
        this.phoneNo = phoneNo;
    }   
    
    public long getID()
    {
        return id;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getMail()
    {
        return mail;
    }
    
    public int getPhoneNo()
    {
        return phoneNo;
    }   
    
}
